package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.RepairReplacePipe;
import com.deyuanyun.pic.pbf.mapper.RepairReplacePipeMapper;
import com.deyuanyun.pic.pbf.service.RepairReplacePipeService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RepairReplacePipeServiceImpl implements RepairReplacePipeService {
    @Autowired
    private RepairReplacePipeMapper repairReplacePipeMapper;

    private static final Logger logger = LoggerFactory.getLogger(RepairReplacePipeServiceImpl.class);

    public RepairReplacePipe selectByPrimaryKey(String id) {
        return this.repairReplacePipeMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.repairReplacePipeMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RepairReplacePipe record) {
        return this.repairReplacePipeMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RepairReplacePipe record) {
        return this.repairReplacePipeMapper.updateByPrimaryKey(record);
    }

    public int insert(RepairReplacePipe record) {
        return this.repairReplacePipeMapper.insert(record);
    }

    @Override
    public int insertSelective(RepairReplacePipe replacePipe) {
        return this.repairReplacePipeMapper.insertSelective(replacePipe);
    }
}